class CreateUsers < ActiveRecord::Migration
  def self.up
    create_table :users do |t|		
		t.column :event_id, :integer
		t.column :name, :string
		#t.column :login, :string
		#t.column :password, :string
		#t.column :email, :string
		t.column :created_at, :timestamp
		t.column :updated_at, :timestamp
	end
	# add a column user_id to the frees table when a user is created
	#add_column :frees, :user_id, :integer 
  end

  def self.down
    drop_table :users
    remove_column :frees, :user_id
  end
end
